<style type="text/css">
    .left-panel {
        float: left;
        width: 75%;
    }
    
    .right-panel {
        float: right;
        width: 20%;
        padding-left: 40px;
    }
</style>
<script type="text/javascript" src="<?php echo Yii::app()->baseUrl ?>/scripts/jquery/jquery.min.js"></script>
<script type="text/javascript">
    
    $(document).ready(function(){  
        $("#ok").click(function(){
            $('form').submit(); 
        });
        

    });
    
</script>

<form name="create_form" id="create_form" onkeypress="return event.keyCode != 13;" method="POST" action="?r=site/banner" enctype="multipart/form-data">
    <div class="left-panel">
        <h3>Thông tin cơ bản</h3><hr />
            <td><label for="normal">Title</label></td>
            <td><input name="title" id="title" value="<?php echo $data['title']?>"  type="text" size="70" style="width:650px"></td>
            <td><label for="normal">Link Video</label></td>
            <td><input type="text"  name="video_url" value="<?php echo $data['video_url']?>" style="width:650px"></td>
            
            <label>Link bài viết</label>
            <input name="link_post" value="<?php echo $data['link_post']?>" type="text" size="70" style="width:650px">

                    
       
        <br />
        <label for="normal">Giới thiệu</label>
        <textarea  id="short_intro" name="intro" rows="3" style="width: 98%"><?php echo $data['intro']?></textarea>
      
         <!--
         <br/>
        
        <label for="normal">Upload ảnh Banner</label>
         <input name="post" id="images" class="images" type="file"  size="20" style="opacity: 0;">
         <div id="images_status"></div>
         
         <table>
             <tr>
                 <td id="images_content" align="center">
                     
                 </td>
             </tr>
         </table>
         -->
         <br /><br />
         <center>
         <button class="btn" id="ok" href="#"><span class="icon16 icomoon-icon-cog"></span> OK</button>
         <button class="btn" id="cancel" href="?r=site/index"><span class="icon16 icomoon-icon-cog"></span> Cancel</button>
         </center>
    </div>
    <div class="right-panel">
    </div>
</form>